﻿angular.module('Stackoverflow').controller('QuestionController', function ($scope, Restangular,Account) {
    'use strict';

    $scope.currentId = Account;

    Restangular.all('question').customGET("getquestions")
        .then(function (data) {
            $scope.questions = data;
        });

});